package edu.cs.cs160.storytime;

import java.util.ArrayList;

public class StoryPage {
	private ArrayList<StoryHotspot> hotspots;
	private int pageResource;
	private int pageID;
	
	public StoryPage(int pageResource) {
		this.pageResource = pageResource;
		this.hotspots = new ArrayList<StoryHotspot>();
	}
	
	public void setID(int id) {
		this.pageID = id;
	}
	
	public void addHotspot(StoryHotspot hotspot) {
		this.hotspots.add(hotspot);	
	}
	
	public int returnPageResource() {
		return this.pageResource;	
	}
	
	public int getNumHotspots() {
		return this.hotspots.size();	
	}
	
	public ArrayList<StoryHotspot> returnHotspots() {
		return this.hotspots;
	}
	
	public StoryHotspot getHotspot(int hotspotID) {
		return this.hotspots.get(hotspotID);
	}
	
	public ArrayList<StoryHotspot> getHotspots() {
		return this.hotspots;
	}
}
